<template>
  <div class="main">
    <MainHeader title="我的音乐"
      @nav-click="toPath"
    ></MainHeader>
    <router-view></router-view>
  </div>
</template>
<script>
import MainHeader from '@/components/main/MainHeader'
export default {
    components: {
      MainHeader
    },
    methods: {
      toPath(path){
        this.$router.push(path);
      }
    }
}
</script>
<style scoped>
.main{
  color: #000;
}
</style>